package app

import (
	"github.com/golang/protobuf/jsonpb"
)

// JSONHandler omitempty
var JSONHandler = &jsonpb.Marshaler{
	OrigName:     true,
	EmitDefaults: true,
}

// JSONOmitHandler omitempty
var JSONOmitHandler = &jsonpb.Marshaler{
	OrigName:     true,
	EmitDefaults: false,
}
